﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Jo.PropertyManagement.Domain.Entity
{
    [Serializable]
    public class Customer
    {
        public Customer()
        {
            DOB = DateTime.Today;
            CreatedDate = DateTime.Now;

        }

        public virtual long Id
        {
            get;
            set;
        }
        public virtual string FirstName
        {
            get;
            set;
        }
        public virtual string MiddleName
        {
            get;
            set;
        }
        public virtual string Sex
        {
            get;
            set;
        }

        public virtual string LastName
        {
            get;
            set;
        }
        public virtual DateTime DOB
        {
            get;
            set;
        }
        public virtual string AddressLine1
        {
            get;
            set;
        }
        public virtual string AddressLine2
        {
            get;
            set;
        }
        public virtual string City
        {
            get;
            set;
        }
        public virtual string County
        {
            get;
            set;
        }
        public virtual string Country
        {
            get;
            set;
        }
        public virtual string PostCode
        {
            get;
            set;
        }
        public virtual string Email
        {
            get;
            set;
        }
        public virtual string AlternativeEmail
        {
            get;
            set;
        }
        public virtual string PrimaryContactNo
        {
            get;
            set;
        }

        
        public virtual string MobileNo
        {
            get;
            set;
        }
        public virtual string HomePhone
        {
            get;
            set;
        }
        public virtual string WorkPhone
        {
            get;
            set;
        }
        public virtual string Note
        {
            get;
            set;
        }
        public virtual DateTime CreatedDate
        {
            get;
            set;
        }
        public virtual long CreatedBy
        {
            get;
            set;
        }

        public virtual DateTime LastUpdatedDate
        {
            get;
            set;
        }
        public virtual int LastUpdatedBy
        {
            get;
            set;
        }
        public virtual string Password
        {
            get;
            set;
        }
        public virtual string PasswordSoalt
        {
            get;
            set;
        }
        public virtual bool IsDeleted
        {
            get;
            set;
        }
    }
}
